import request from '@/utils/request'

export function getAuthorizeList(query) {
  if(query != undefined){
    query = JSON.parse(JSON.stringify(query))
  }
  return request({
    url: '/position/admin/authorize/getList',
    method: 'post',
    data: query
  })
}

export function getBrokerDetail(query) {
  if(query != undefined){
    query = JSON.parse(JSON.stringify(query))
  }
  return request({
    url: '/position/authorize/info?brokerID='+query.brokerID,
    method: 'get',
    data: query
  })
}